package com.fh.model.loan;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CallLoanConverseInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CallLoanConverseInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCallLogIdIsNull() {
            addCriterion("call_log_id is null");
            return (Criteria) this;
        }

        public Criteria andCallLogIdIsNotNull() {
            addCriterion("call_log_id is not null");
            return (Criteria) this;
        }

        public Criteria andCallLogIdEqualTo(Integer value) {
            addCriterion("call_log_id =", value, "callLogId");
            return (Criteria) this;
        }

        public Criteria andCallLogIdNotEqualTo(Integer value) {
            addCriterion("call_log_id <>", value, "callLogId");
            return (Criteria) this;
        }

        public Criteria andCallLogIdGreaterThan(Integer value) {
            addCriterion("call_log_id >", value, "callLogId");
            return (Criteria) this;
        }

        public Criteria andCallLogIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("call_log_id >=", value, "callLogId");
            return (Criteria) this;
        }

        public Criteria andCallLogIdLessThan(Integer value) {
            addCriterion("call_log_id <", value, "callLogId");
            return (Criteria) this;
        }

        public Criteria andCallLogIdLessThanOrEqualTo(Integer value) {
            addCriterion("call_log_id <=", value, "callLogId");
            return (Criteria) this;
        }

        public Criteria andCallLogIdIn(List<Integer> values) {
            addCriterion("call_log_id in", values, "callLogId");
            return (Criteria) this;
        }

        public Criteria andCallLogIdNotIn(List<Integer> values) {
            addCriterion("call_log_id not in", values, "callLogId");
            return (Criteria) this;
        }

        public Criteria andCallLogIdBetween(Integer value1, Integer value2) {
            addCriterion("call_log_id between", value1, value2, "callLogId");
            return (Criteria) this;
        }

        public Criteria andCallLogIdNotBetween(Integer value1, Integer value2) {
            addCriterion("call_log_id not between", value1, value2, "callLogId");
            return (Criteria) this;
        }

        public Criteria andCallUserIsNull() {
            addCriterion("call_user is null");
            return (Criteria) this;
        }

        public Criteria andCallUserIsNotNull() {
            addCriterion("call_user is not null");
            return (Criteria) this;
        }

        public Criteria andCallUserEqualTo(Integer value) {
            addCriterion("call_user =", value, "callUser");
            return (Criteria) this;
        }

        public Criteria andCallUserNotEqualTo(Integer value) {
            addCriterion("call_user <>", value, "callUser");
            return (Criteria) this;
        }

        public Criteria andCallUserGreaterThan(Integer value) {
            addCriterion("call_user >", value, "callUser");
            return (Criteria) this;
        }

        public Criteria andCallUserGreaterThanOrEqualTo(Integer value) {
            addCriterion("call_user >=", value, "callUser");
            return (Criteria) this;
        }

        public Criteria andCallUserLessThan(Integer value) {
            addCriterion("call_user <", value, "callUser");
            return (Criteria) this;
        }

        public Criteria andCallUserLessThanOrEqualTo(Integer value) {
            addCriterion("call_user <=", value, "callUser");
            return (Criteria) this;
        }

        public Criteria andCallUserIn(List<Integer> values) {
            addCriterion("call_user in", values, "callUser");
            return (Criteria) this;
        }

        public Criteria andCallUserNotIn(List<Integer> values) {
            addCriterion("call_user not in", values, "callUser");
            return (Criteria) this;
        }

        public Criteria andCallUserBetween(Integer value1, Integer value2) {
            addCriterion("call_user between", value1, value2, "callUser");
            return (Criteria) this;
        }

        public Criteria andCallUserNotBetween(Integer value1, Integer value2) {
            addCriterion("call_user not between", value1, value2, "callUser");
            return (Criteria) this;
        }

        public Criteria andCallTypeIsNull() {
            addCriterion("call_type is null");
            return (Criteria) this;
        }

        public Criteria andCallTypeIsNotNull() {
            addCriterion("call_type is not null");
            return (Criteria) this;
        }

        public Criteria andCallTypeEqualTo(Integer value) {
            addCriterion("call_type =", value, "callType");
            return (Criteria) this;
        }

        public Criteria andCallTypeNotEqualTo(Integer value) {
            addCriterion("call_type <>", value, "callType");
            return (Criteria) this;
        }

        public Criteria andCallTypeGreaterThan(Integer value) {
            addCriterion("call_type >", value, "callType");
            return (Criteria) this;
        }

        public Criteria andCallTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("call_type >=", value, "callType");
            return (Criteria) this;
        }

        public Criteria andCallTypeLessThan(Integer value) {
            addCriterion("call_type <", value, "callType");
            return (Criteria) this;
        }

        public Criteria andCallTypeLessThanOrEqualTo(Integer value) {
            addCriterion("call_type <=", value, "callType");
            return (Criteria) this;
        }

        public Criteria andCallTypeIn(List<Integer> values) {
            addCriterion("call_type in", values, "callType");
            return (Criteria) this;
        }

        public Criteria andCallTypeNotIn(List<Integer> values) {
            addCriterion("call_type not in", values, "callType");
            return (Criteria) this;
        }

        public Criteria andCallTypeBetween(Integer value1, Integer value2) {
            addCriterion("call_type between", value1, value2, "callType");
            return (Criteria) this;
        }

        public Criteria andCallTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("call_type not between", value1, value2, "callType");
            return (Criteria) this;
        }

        public Criteria andToRealNameTypeIsNull() {
            addCriterion("to_real_name_type is null");
            return (Criteria) this;
        }

        public Criteria andToRealNameTypeIsNotNull() {
            addCriterion("to_real_name_type is not null");
            return (Criteria) this;
        }

        public Criteria andToRealNameTypeEqualTo(String value) {
            addCriterion("to_real_name_type =", value, "toRealNameType");
            return (Criteria) this;
        }

        public Criteria andToRealNameTypeNotEqualTo(String value) {
            addCriterion("to_real_name_type <>", value, "toRealNameType");
            return (Criteria) this;
        }

        public Criteria andToRealNameTypeGreaterThan(String value) {
            addCriterion("to_real_name_type >", value, "toRealNameType");
            return (Criteria) this;
        }

        public Criteria andToRealNameTypeGreaterThanOrEqualTo(String value) {
            addCriterion("to_real_name_type >=", value, "toRealNameType");
            return (Criteria) this;
        }

        public Criteria andToRealNameTypeLessThan(String value) {
            addCriterion("to_real_name_type <", value, "toRealNameType");
            return (Criteria) this;
        }

        public Criteria andToRealNameTypeLessThanOrEqualTo(String value) {
            addCriterion("to_real_name_type <=", value, "toRealNameType");
            return (Criteria) this;
        }

        public Criteria andToRealNameTypeLike(String value) {
            addCriterion("to_real_name_type like", value, "toRealNameType");
            return (Criteria) this;
        }

        public Criteria andToRealNameTypeNotLike(String value) {
            addCriterion("to_real_name_type not like", value, "toRealNameType");
            return (Criteria) this;
        }

        public Criteria andToRealNameTypeIn(List<String> values) {
            addCriterion("to_real_name_type in", values, "toRealNameType");
            return (Criteria) this;
        }

        public Criteria andToRealNameTypeNotIn(List<String> values) {
            addCriterion("to_real_name_type not in", values, "toRealNameType");
            return (Criteria) this;
        }

        public Criteria andToRealNameTypeBetween(String value1, String value2) {
            addCriterion("to_real_name_type between", value1, value2, "toRealNameType");
            return (Criteria) this;
        }

        public Criteria andToRealNameTypeNotBetween(String value1, String value2) {
            addCriterion("to_real_name_type not between", value1, value2, "toRealNameType");
            return (Criteria) this;
        }

        public Criteria andToRealNameIsNull() {
            addCriterion("to_real_name is null");
            return (Criteria) this;
        }

        public Criteria andToRealNameIsNotNull() {
            addCriterion("to_real_name is not null");
            return (Criteria) this;
        }

        public Criteria andToRealNameEqualTo(String value) {
            addCriterion("to_real_name =", value, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToRealNameNotEqualTo(String value) {
            addCriterion("to_real_name <>", value, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToRealNameGreaterThan(String value) {
            addCriterion("to_real_name >", value, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToRealNameGreaterThanOrEqualTo(String value) {
            addCriterion("to_real_name >=", value, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToRealNameLessThan(String value) {
            addCriterion("to_real_name <", value, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToRealNameLessThanOrEqualTo(String value) {
            addCriterion("to_real_name <=", value, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToRealNameLike(String value) {
            addCriterion("to_real_name like", value, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToRealNameNotLike(String value) {
            addCriterion("to_real_name not like", value, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToRealNameIn(List<String> values) {
            addCriterion("to_real_name in", values, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToRealNameNotIn(List<String> values) {
            addCriterion("to_real_name not in", values, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToRealNameBetween(String value1, String value2) {
            addCriterion("to_real_name between", value1, value2, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToRealNameNotBetween(String value1, String value2) {
            addCriterion("to_real_name not between", value1, value2, "toRealName");
            return (Criteria) this;
        }

        public Criteria andToMobileIsNull() {
            addCriterion("to_mobile is null");
            return (Criteria) this;
        }

        public Criteria andToMobileIsNotNull() {
            addCriterion("to_mobile is not null");
            return (Criteria) this;
        }

        public Criteria andToMobileEqualTo(String value) {
            addCriterion("to_mobile =", value, "toMobile");
            return (Criteria) this;
        }

        public Criteria andToMobileNotEqualTo(String value) {
            addCriterion("to_mobile <>", value, "toMobile");
            return (Criteria) this;
        }

        public Criteria andToMobileGreaterThan(String value) {
            addCriterion("to_mobile >", value, "toMobile");
            return (Criteria) this;
        }

        public Criteria andToMobileGreaterThanOrEqualTo(String value) {
            addCriterion("to_mobile >=", value, "toMobile");
            return (Criteria) this;
        }

        public Criteria andToMobileLessThan(String value) {
            addCriterion("to_mobile <", value, "toMobile");
            return (Criteria) this;
        }

        public Criteria andToMobileLessThanOrEqualTo(String value) {
            addCriterion("to_mobile <=", value, "toMobile");
            return (Criteria) this;
        }

        public Criteria andToMobileLike(String value) {
            addCriterion("to_mobile like", value, "toMobile");
            return (Criteria) this;
        }

        public Criteria andToMobileNotLike(String value) {
            addCriterion("to_mobile not like", value, "toMobile");
            return (Criteria) this;
        }

        public Criteria andToMobileIn(List<String> values) {
            addCriterion("to_mobile in", values, "toMobile");
            return (Criteria) this;
        }

        public Criteria andToMobileNotIn(List<String> values) {
            addCriterion("to_mobile not in", values, "toMobile");
            return (Criteria) this;
        }

        public Criteria andToMobileBetween(String value1, String value2) {
            addCriterion("to_mobile between", value1, value2, "toMobile");
            return (Criteria) this;
        }

        public Criteria andToMobileNotBetween(String value1, String value2) {
            addCriterion("to_mobile not between", value1, value2, "toMobile");
            return (Criteria) this;
        }

        public Criteria andCallInfoIsNull() {
            addCriterion("call_info is null");
            return (Criteria) this;
        }

        public Criteria andCallInfoIsNotNull() {
            addCriterion("call_info is not null");
            return (Criteria) this;
        }

        public Criteria andCallInfoEqualTo(String value) {
            addCriterion("call_info =", value, "callInfo");
            return (Criteria) this;
        }

        public Criteria andCallInfoNotEqualTo(String value) {
            addCriterion("call_info <>", value, "callInfo");
            return (Criteria) this;
        }

        public Criteria andCallInfoGreaterThan(String value) {
            addCriterion("call_info >", value, "callInfo");
            return (Criteria) this;
        }

        public Criteria andCallInfoGreaterThanOrEqualTo(String value) {
            addCriterion("call_info >=", value, "callInfo");
            return (Criteria) this;
        }

        public Criteria andCallInfoLessThan(String value) {
            addCriterion("call_info <", value, "callInfo");
            return (Criteria) this;
        }

        public Criteria andCallInfoLessThanOrEqualTo(String value) {
            addCriterion("call_info <=", value, "callInfo");
            return (Criteria) this;
        }

        public Criteria andCallInfoLike(String value) {
            addCriterion("call_info like", value, "callInfo");
            return (Criteria) this;
        }

        public Criteria andCallInfoNotLike(String value) {
            addCriterion("call_info not like", value, "callInfo");
            return (Criteria) this;
        }

        public Criteria andCallInfoIn(List<String> values) {
            addCriterion("call_info in", values, "callInfo");
            return (Criteria) this;
        }

        public Criteria andCallInfoNotIn(List<String> values) {
            addCriterion("call_info not in", values, "callInfo");
            return (Criteria) this;
        }

        public Criteria andCallInfoBetween(String value1, String value2) {
            addCriterion("call_info between", value1, value2, "callInfo");
            return (Criteria) this;
        }

        public Criteria andCallInfoNotBetween(String value1, String value2) {
            addCriterion("call_info not between", value1, value2, "callInfo");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andConverseTimeIsNull() {
            addCriterion("converse_time is null");
            return (Criteria) this;
        }

        public Criteria andConverseTimeIsNotNull() {
            addCriterion("converse_time is not null");
            return (Criteria) this;
        }

        public Criteria andConverseTimeEqualTo(String value) {
            addCriterion("converse_time =", value, "converseTime");
            return (Criteria) this;
        }

        public Criteria andConverseTimeNotEqualTo(String value) {
            addCriterion("converse_time <>", value, "converseTime");
            return (Criteria) this;
        }

        public Criteria andConverseTimeGreaterThan(String value) {
            addCriterion("converse_time >", value, "converseTime");
            return (Criteria) this;
        }

        public Criteria andConverseTimeGreaterThanOrEqualTo(String value) {
            addCriterion("converse_time >=", value, "converseTime");
            return (Criteria) this;
        }

        public Criteria andConverseTimeLessThan(String value) {
            addCriterion("converse_time <", value, "converseTime");
            return (Criteria) this;
        }

        public Criteria andConverseTimeLessThanOrEqualTo(String value) {
            addCriterion("converse_time <=", value, "converseTime");
            return (Criteria) this;
        }

        public Criteria andConverseTimeLike(String value) {
            addCriterion("converse_time like", value, "converseTime");
            return (Criteria) this;
        }

        public Criteria andConverseTimeNotLike(String value) {
            addCriterion("converse_time not like", value, "converseTime");
            return (Criteria) this;
        }

        public Criteria andConverseTimeIn(List<String> values) {
            addCriterion("converse_time in", values, "converseTime");
            return (Criteria) this;
        }

        public Criteria andConverseTimeNotIn(List<String> values) {
            addCriterion("converse_time not in", values, "converseTime");
            return (Criteria) this;
        }

        public Criteria andConverseTimeBetween(String value1, String value2) {
            addCriterion("converse_time between", value1, value2, "converseTime");
            return (Criteria) this;
        }

        public Criteria andConverseTimeNotBetween(String value1, String value2) {
            addCriterion("converse_time not between", value1, value2, "converseTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}